package com.ryskoo.common.constant;

import java.util.HashMap;
import java.util.Map;

/**
 * 营销系统 静态常量表
 * @author huanghe
 *
 */
public class PromotionParamConstant {
    /**
	 * 优惠券 - 审核状态 MAP
	 */
    public static Map<String,String> auditStateMap = new HashMap<String,String>();
	/** 0未审核  1审核通过 2审核不通过 */
    public static final String AUDIT_STATE_NOAUDIT = "0";
    public static final String AUDIT_STATE_PASS = "1";
    public static final String AUDIT_STATE_NOPASS = "2";

    /**
	 * 促销活动 - 活动状态 MAP
	 */
    public static Map<String,String> activityStateMap = new HashMap<String,String>();
	/** 1.未开始  2.进行中   3.已结束   4.提前终止  */
    public static final String ACTIVITY_NO_START = "1";
    public static final String ACTIVITY_ON_GOING = "2";
    public static final String ACTIVITY_OVER = "3";
    public static final String ACTIVITY_STATE_OVER = "4";
    
    
    /**
	 * 组件活动 - 单品类活动类型 MAP
	 */
    public static Map<String,String> activityTypeForSingle = new HashMap<String,String>();
    /**
	 * 组件活动 - 订单类类活动类型 MAP
	 */
    public static Map<String,String> activityTypeForOrder = new HashMap<String,String>();
    
	/** 1.单品特价  2.单品买赠 3.加价购  4.订单满减  5.订单满赠 6.订单免运费  */
    public static final String PRODUCT_ACTYPE_SPECIAL = "1";
    public static final String PRODUCT_ACTYPE_SENDGIFT = "2";
    public static final String ORDER_ACTYPE_REDUCTION = "4";
    public static final String ORDER_ACTYPE_SENDGIFT = "5";
    public static final String ORDER_ACTYPE_FREEDELIVERY = "6";
    
    
    /**
	 * 订单活动 - 设置关联商品范围 MAP
	 */
    public static Map<String,String> activityScopeMap = new HashMap<String,String>();
	/** 1.全场、2.单品  3.品类 */
    public static final String ACTIVITY_SCOPE_ALL = "1";
    public static final String ACTIVITY_SCOPE_PRODUCT = "2";
    public static final String ACTIVITY_SCOPE_CATEGORY = "3";
    
    static {

        auditStateMap.put(AUDIT_STATE_NOAUDIT, "未审核");
        auditStateMap.put(AUDIT_STATE_PASS, "审核通过");
        auditStateMap.put(AUDIT_STATE_NOPASS, "审核不通过");

        activityStateMap.put(ACTIVITY_NO_START, "未开始");
        activityStateMap.put(ACTIVITY_ON_GOING, "进行中");
        activityStateMap.put(ACTIVITY_OVER, "已结束");
        activityStateMap.put(ACTIVITY_STATE_OVER, "提前终止");
        
        activityTypeForSingle.put(PRODUCT_ACTYPE_SPECIAL, "单品特价");
        activityTypeForSingle.put(PRODUCT_ACTYPE_SENDGIFT, "单品买赠");
        activityTypeForOrder.put(ORDER_ACTYPE_REDUCTION, "订单满减");
        activityTypeForOrder.put(ORDER_ACTYPE_SENDGIFT, "订单满赠");
        activityTypeForOrder.put(ORDER_ACTYPE_FREEDELIVERY, "订单免运费");
        
        
        activityScopeMap.put(ACTIVITY_SCOPE_ALL, "全场");
        activityScopeMap.put(ACTIVITY_SCOPE_PRODUCT, "单品");
        activityScopeMap.put(ACTIVITY_SCOPE_CATEGORY, "品类");
        
    }
    
    
}
